package com.kitty.common.schedule.task;

import com.kitty.common.utils.SpringUtils;
import com.kitty.game.activity.service.time.CaiShenHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class CaiShenTask implements ScheduledOfTask {


    @Override
    public void execute() {

        SpringUtils.getBean(CaiShenHandler.class).flushNpc();

        log.info("刷新财神");
    }
}
